home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / python2.6 / dist-packages / computerjanitorapp / __init__.pyc (.txt) next >
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  1.1 KB  |  28 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. VERSION = '1.12.1'
  5.  
  6. def setup_gettext():
  7.     '''Set up gettext for a module.
  8.  
  9.     Return a method to be used for looking up translations. Usage:
  10.  
  11.       import computerjanitorapp
  12.       _ = computerjanitorapp.setup_gettext()
  13.  
  14.     '''
  15.     import gettext
  16.     import os
  17.     domain = 'computerjanitor'
  18.     localedir = os.environ.get('LOCPATH', None)
  19.     t = gettext.translation(domain, localedir = localedir, fallback = True)
  20.     return t.ugettext
  21.  
  22. from app import Application
  23. from ui import UserInterface
  24. from ui_cli import CommandLineUserInterface
  25. from ui_gtk import GtkUserInterface
  26. from state import State
  27. from terminalsize import get_terminal_size
  28.